package com.shinewind.search.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shinewind.pojo.doc.ArticleDoc;
import com.shinewind.pojo.dto.PageDto;
import com.shinewind.pojo.entity.Search;
import com.shinewind.pojo.vo.ArticleVo;
import com.shinewind.pojo.vo.PageVo;

import java.io.IOException;
import java.util.List;

public interface ISearchService extends IService<Search> {
    public List<Search> getRandomHotList();
    public PageVo<ArticleDoc> getArticleByKeyword(PageDto pageDto, String keyword) throws IOException;
}